<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文本样式演示</title>
    <style>
        div {
            /*文本颜色*/
            color: yellow;
            /*字体*/
            font-family: 宋体;
            /*字体大小*/
            font-size: 20px;
            /*下划线*/
            text-decoration: underline;
            /*水平对齐方式*/
            text-align: center;
            /*行间距*/
            line-height: 60px;
        }
    </style>
</head>
<body>
<div>
    hello
</div>
<div>
    word
</div>
</body>
</html>